<div class="header">
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-home"></i>首页</a></li>
        <li><a href="#">场景管理</a></li>
        <li class="active" id="banner">商铺管理</li>
    </ol>
</div>
<div class="row">
    <div  id="getId" class="col-lg-2 col-xs-2 col-md-2" style="height: 800px;   ">
        <div class="tabT">
            <!--<span style="height: 30px;line-height: 30px;padding-left: 10px ">商铺管理</span>-->
            <ul class="tab">
                <li id="tabId1" class="current" onclick="tab('tabId1','Page/shopmanage/shop/shop.html','店铺管理');">&nbsp;<i class="fa fa-map-marker"></i>&nbsp;&nbsp;店铺管理</li>
                <li id="tabId2" onclick="tab('tabId2','Page/shopmanage/shopuser/shopuser.html','店铺人员');"><i class="fa fa-users"></i>&nbsp;&nbsp;店铺人员</li>
            </ul>
        </div>

    </div>
    <div class="col-lg-10 col-xs-10 col-md-10">
        <div class="show" id="tabC">商铺管理
        </div>
        <!--<div class="hidden" id="tabC2">店铺人员-->
        <!--</div>-->
    </div>
</div>
<script type="text/javascript" language="javascript">
    $(function () {
        GLOBAL.MODULEURL='Page/shopmange/shop/index.html';
        $("#tabC").load("Page/shopmanage/shop/shop.html");
    });
    // $("#tabC1").load("Page/shopmanage/shop/shop.html");
    // $("#tabC2").load("Page/shopmanage/shopuser/shopuser.html");
    function tab(tabId, url,info){
        $("#banner").html(info);
        var len =document.getElementById('getId').getElementsByTagName('li').length;
        for(i=1; i <= len; i++){
            if ("tabId"+i==tabId){
                document.getElementById(tabId).className="current";
                $("#tabC").load(url);
            }else{
                document.getElementById("tabId"+i).className="";
            }
            // if ("tabC"+i==tabC){
            //     document.getElementById(tabC).className="show";
            // }else{
            //     document.getElementById("tabC"+i).className="hidden";
            // }
        }
    }
</script>